﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://wubiyu.cnblogs.com">
<head>
      <title></title>
      <link href="../../Theme/DomExtGray/gray.min.css" rel="Stylesheet" type="text/css" />
      <link href="PageModel.css" rel="Stylesheet" type="text/css" />
      <script type="text/javascript" src="../../domExt.min.js"></script>
</head>
<body>
      <div class="fun_title">
            _h.Redirect(url);
      </div>
      <div class="fun_content">
            描述：跳转的指定URL地址<br />
       </div>
      <div class="fun_title2">
            示例:
      </div>
      <div class="code">
            &lt;script type=&quot;text/javascript&quot;&gt;<br />
&nbsp;&nbsp;&nbsp; _h.Redirect(&quot;http://www.google.com&quot;);<br />
            &lt;/script&gt;</div>
      <input type="hidden" value=" var div1 = _g('#div1');  var collObjects1=_g('div');var collObjects2=_g('.testclass',div1);alert(div1.innerHTML);"
            id="jscode">
      <br />
      <h:btn onclick="run_click();">执行脚本</h:btn>
      <div id="htmltemp" style="display:none;"></div>
      <script type="text/javascript">
            function run_click() {
                  _h.Redirect("http://www.google.com");
            }
      </script>
</body>
</html>
